package com.rongke.service;

import com.baomidou.mybatisplus.service.IService;
import com.rongke.model.MonthSaleReport;
import com.rongke.model.Statistics;

import java.util.List;
import java.util.Map;

/**
 * @StatisticsService
 * @Service
 * @version : Ver 1.0
 */
public interface StatisticsService extends IService<Statistics>{

    List<Statistics> selectByCondition(Statistics statistics);

    /**
     * 生成每月销售报总表
     * @param condition
     * @return
     */
    List<MonthSaleReport> getMonthSaleReport(Map condition);

    List<MonthSaleReport> getMonthCitySaleReport(Map condition);

    List<MonthSaleReport> getMonthCitySaleRateReport(Map condition);
}
